<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <title>新年福卡</title>
    <style>
        /* 引入中文字体 */
        @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&display=swap');

        body {
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: #f5f5f5;
        }

        .card {
            width: 1080px;
            height: 1800px;
            position: relative;
            background: #fff;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        /* 水墨背景效果 */
        .ink-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg,
                    rgba(0, 0, 0, 0.02) 0%,
                    rgba(0, 0, 0, 0.1) 100%);
            opacity: 0.8;
        }


        /* 修改祥云样式 */
        .cloud {
            position: absolute;
            width: 240px;
            /* 调小祥云尺寸 */
            height: auto;
            opacity: 0.7;
            /* 降低透明度使其更柔和 */
            z-index: 2;
            filter: contrast(1.05);
        }

        .cloud-1 {
            top: 40px;
            left: 40px;
            transform: rotate(-5deg) scale(0.9);
        }

        .cloud-2 {
            top: 60px;
            right: 50px;
            transform: rotate(5deg) scale(0.8);
        }

        /* 修改鲤鱼样式 */
        .fish {
            position: absolute;
            width: 240px;
            /* 调整鲤鱼尺寸 */
            height: auto;
            opacity: 0.9;
            z-index: 2;
            filter: saturate(1.2) contrast(1.05);
        }

        .fish-1 {
            bottom: 260px;
            right: 80px;
            transform: rotate(15deg) scale(1);
        }

        .fish-2 {
            bottom: 420px;
            right: 240px;
            transform: rotate(-12deg) scale(0.8);
        }

        .fish-3 {
            bottom: 620px;
            right: 660px;
            transform: rotate(75deg) scale(0.9);
        }

        .qrcode {
            position: absolute;
            bottom: 40px;
            left: 40px;
            width: 100px;
            height: auto;
            z-index: 2;
            background: white;
            padding: 10px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        /* 主要内容区域 */
        .content {
            position: relative;
            z-index: 10;
            padding: 140px 100px;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
        }

        /* 福字样式 */
        .fu {
            font-family: 'Noto Serif SC', serif;
            font-size: 280px;
            font-weight: bold;
            color: #e60012;
            text-shadow:
                3px 3px 6px rgba(0, 0, 0, 0.2),
                -1px -1px 1px rgba(255, 255, 255, 0.3);
            /* 立体感 */
            margin-bottom: 60px;
            writing-mode: vertical-rl;
        }

        /* 祝福语样式 */
        .greeting {
            font-family: 'Noto Serif SC', serif;
            font-size: 40px;
            font-weight: 500;
            color: #1a1a1a;
            line-height: 2.6;
            text-align: center;
            writing-mode: vertical-rl;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
            letter-spacing: 14px;
        }

        /* 装饰边框 */
        .border {
            position: absolute;
            top: 20px;
            left: 20px;
            right: 20px;
            bottom: 20px;
            border: 2px solid rgba(0, 0, 0, 0.1);
        }
    </style>
</head>

<body>
    <div class="card">
        <div class="ink-bg"></div>
        <div class="border"></div>
        <img src="祥云300-mini.png" alt="祥云" class="cloud cloud-1">
        <img src="祥云500-mini.png" alt="祥云" class="cloud cloud-2">
        <img src="鲤鱼300-mini.png" alt="鲤鱼" class="fish fish-1">
        <img src="鲤鱼300-mini.png" alt="鲤鱼" class="fish fish-2">
        <img src="鲤鱼300-mini.png" alt="鲤鱼" class="fish fish-3">
        <img src="qrcode.jpg" alt="小程序码" class="qrcode">
        <div class="content">
            <div class="fu">福</div>
            <div class="greeting">
                恭贺新春
                万事如意
                阖家幸福
                吉祥安康
            </div>
        </div>
    </div>
</body>

</html>